home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Everything For A Hacker
/
19990506-[HACK].iso
/
HEXEDIT
/
TCRASM
/
RGX39012.ZIP
/
X390IVP.MAC
< prev
next >
Wrap
Text File
|
1997-03-20
|
2KB
|
48 lines
.**********************************************************************
.* *
.* X390IVP.MAC - Tachyon 390 Cross Assembler *
.* Installation Verification Program *
.* (C) Copyright 1995-1997, Tachyon Software *
.* *
.**********************************************************************
************** General Register Equates *******************************
R0 Equ 0 General Register 0
R1 Equ 1 General Register 1
R2 Equ 2 General Register 2
R3 Equ 3 General Register 3
R4 Equ 4 General Register 4
R5 Equ 5 General Register 5
R6 Equ 6 General Register 6
R7 Equ 7 General Register 7
R8 Equ 8 General Register 8
R9 Equ 9 General Register 9
R10 Equ 10 General Register 10
R11 Equ 11 General Register 11
R12 Equ 12 General Register 12
R13 Equ 13 General Register 13
R14 Equ 14 General Register 14
R15 Equ 15 General Register 15
***********************************************************************
macro
.* This macro is a simple form of the MVS WTO macro.
.* It does not support any of the options of the real WTO
.* macro, but it does verify that the macro assembler works.
&lbl wto &msg
aspace
&len seta k'&msg
aif (&len lt 3).bad_msg
aif ('&msg'(1,1) ne '''' or '&msg'(&len,1) ne '''').bad_msg
cnop 0,4
&lbl bal 1,WtoSvc&sysndx
dc al2(WtoEnd&sysndx-*,0)
dc c&msg
WtoEnd&sysndx equ *
WtoSvc&sysndx ds 0h
svc 35
mexit
.bad_msg mnote 8,'Message text is invalid or missing.'
mend